<template>
  <section class="home-hot-cities">
    <div class="text">
      <span>热门城市</span>
    </div>
      <city-list :cities="hotCities" class="city-list" />
  </section>
</template>

<script>
import CityList from "components/content/home/cityModule/CityList";
export default {
  props: {
    hotCities: {
      type: Array,
      default() {
        return [];
      },
    },
  },
  components: {
    CityList,
  },
};
</script>
<style lang="less" scoped>
.home-hot-cities {
  border-top: 2px solid #eaeaea;
  margin-bottom: 15px;
  background-color: #fff;
  font-size: 14px;
  color: var(--color-tint);
  .text {
    padding: 10px;
    border-bottom: 1px solid #eaeaea;
  }
  .city-list {

      color: var(--color-tint);
  }
}
</style>